<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title>Konverta4</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <link rel="apple-touch-startup-image" href="images/startup.jpg" />
    <meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" />
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <link rel="stylesheet" href="css/style.css"  type="text/css" />
    <script src="js/functions.js" type="text/javascript"></script>
    {% block app %}
    <script language="JavaScript" type="text/javascript">
        function autostart()
        {
            if (!sessionStorage.username) {
                window.location = "/login";
            }
        }
    </script>
    {% endblock %}
</head>

<body onload="autostart()">

<div id="topbar">
{% block topbar %}
    <div id="title">Конверт</div>
    <div id="rightbutton"><a href="/logout">Выход</a></div>
{% endblock %}
</div>

<div id="content">
{% block content %}
<h1>UFO</h1>
{% endblock %}
</div>
</body>
</html>
